<?php
$linkStart  =	$this->currentUrl . '/page/' . $this->first;

$strPage    =	'';
foreach ($this->pagesInRange as $key => $value) {
    if($this->current == $key){
        $strPage .= '<span class="active">' . $key . '</span>';
    }else{
        $linkPage	= $this->currentUrl . '/page/' . $key;
        $strPage .= '<span class="link"><a href="' . $linkPage . '">' . $key . '</a></span> ';
    }
}

$page	= 'Page '. $this->current .' Of ' . $this->last;
?>
<div id="paging">
    <div style="float: right;">
        <span class="page-text">Trang:</span>
        <?php echo $strPage;?>
    </div>
    <div class="clr"></div>
</div>